Skip to content

ext/random: php-fpm crash with CommonCrypto on macOS 10.11 - #25877

Open
devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh25450
Open

devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh25450

Conversation

@devnexen

@devnexen devnexen commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Fix GH-25450

Only use CCRandomGenerateBytes() when targeting macOS 10.12 or later.

@devnexen
devnexen marked this pull request as ready for review November 28, 2026 19:06
….11.

Fix phpGH-25450

CCRandomGenerateBytes() was used whenever the CommonCrypto header was
found. It is now used only when targeting macOS 10.12 or later.
@devnexen devnexen changed the title Fix GH-25450: php-fpm crash with CommonCrypto on macOS 10.11 ext/random: php-fpm crash with CommonCrypto on macOS 10.11 Nov 28, 2026
@devnexen devnexen linked an issue Nov 28, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

php8-fpm is crashing with CommonCrypto on 10.11 El Capitan

1 participant